package com.cskaoyan.catmall.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @date: 2022-01-10-19-39
 * @author: ZYY
 * @description:
 */
@NoArgsConstructor
@Data
public class CategoryBeanWx {

    /**
     * id : 1012000
     * name : 杂货12
     * keywords :
     * desc : 解忧，每个烦恼
     * pid : 1036040
     * iconUrl : http://yanxuan.nosdn.127.net/c2a3d6349e72c35931fe3b5bcd0966be.png
     * picUrl : http://yanxuan.nosdn.127.net/547853361d29a37282f377b9a755dd37.png
     * level : L2
     * sortOrder : 8
     * addTime : 2018-02-01 00:00:00
     * updateTime : 2022-01-10 17:48:26
     * deleted : false
     */

    private int id;
    private String name;
    private String keywords;
    private String desc;
    private int pid;
    private String iconUrl;
    private String picUrl;
    private String level;
    private int sortOrder;
    @JsonFormat
    private Date addTime;
    @JsonFormat
    private String updateTime;
    private boolean deleted;
}